package com.ruoyi.project.jzfqw.cl;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: Sunhg
 * @Date: 2024/04/04/20:20
 * @Description:
 */
@RequestMapping("vehicle/car")
@Controller
public class ClController {

    //声明公共资源前缀
    private String prefix = "jzfqw/cl";
    //声明公共资源
    @GetMapping
    @RequiresPermissions("vehicle:car:view")
    public String userConn(){
        return prefix+"/clxx";
    }

    //声明添加的公共资源
    @GetMapping("/add")
    public String userAdd(){
        return prefix+"/add";
    }

    //声明添加的公共资源
    @GetMapping("/edit")
    public String userEdit(){
        return prefix+"/edit";
    }
}
